//
//  BAResource.h
//  BabyAlbum
//
//  Created by master on 17/2/16.
//  Copyright © 2017年 master. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface BAResource : NSObject

+ (NSString *)md5HexDigest:(NSData *)data;
+ (NSString *)getResourceName:(id)resource;
+ (UIImage *)imageNamed:(NSString *)name;
+ (AVURLAsset *)videoNamed:(NSString *)name;
+ (NSString *)writeResource:(BAAlbumItem *)resource;
+ (NSString *)resourcePathName:(NSString *)name;
+ (void)deleteResource:(BAAlbumItem *) resourceName;
@end
